wpforo\classes\Forums D

Total Complexity 336
Dependencies 0
Dependents 2
Total lines 1,403
Lines of code 1,117
Logical lines of code 695
Comment lines 81
Methods 56
Properties 1

Methods 56

Method Rating Maintainability Complexity Lines of code
forum_list()
D
27
38 136
edit()
C
34 24 81
permissions()
C
45 26 32
get_forums()
B
35 22 76
add()
B
34 19 92
_get_forum()
B
42 17 46
tree()
A
43 16 43
rebuild_last_infos()
A
39 11 66
update_hierarchy()
A
48 12 30
merge()
A
48 11 29
get_layout()
A
47 10 35
children()
A
56 8 17
parentid()
S
62 8 9
unique_slug()
S
56 6 16
delete()
S
57 6 15
after_add_usergroup()
S
59 6 14
dropdown()
S
58 6 13
get_parents()
S
54 5 22
rebuild_stats()
S
56 5 16
get_forum_url()
S
60 5 14
search()
S
54 4 21
count_depth()
S
57 4 18
get_parent_forumids_static()
S
58 4 17
private_forum()
S
67 5 7
get_count()
S
63 4 9
copy()
S
58 3 14
get_childs()
S
62 3 11
__get_parents_mysql8()
S
57 2 19
__get_childs()
S
57 2 18
__get_childs_mysql8()
S
58 2 17
after_delete_topic()
S
70 3 6
__delete()
S
62 3 10
after_add_topic()
S
70 3 6
get_lastinfo()
S
61 2 12
get_counts()
S
61 2 11
get_forumid_and_childids()
S
65 2 9
after_topic_status_update()
S
70 2 6
after_add_post()
S
70 2 6
topic_private_update()
S
70 2 6
after_delete_post()
S
70 2 6
_get_forumids()
S
70 2 5
after_post_status_update()
S
70 2 6
get_cache()
S
78 2 3
init_hooks()
S
59 1 13
__count_depth_mysql8()
S
63 1 12
forums()
S
75 1 4
delete_tree_cache()
S
78 1 3
get_forumids()
S
78 1 3
get_sum_of_topics_posts()
S
75 1 4
get_child_forums()
S
66 1 8
after_merge_forum()
S
77 1 4
get_forum()
S
78 1 3
after_merge_topic()
S
71 1 6
after_move_topic()
S
71 1 6
reset()
S
78 1 3
__construct()
S
82 1 3